﻿using System;
using System.Windows.Forms;
using System.IO;
using DocumentCommon;

namespace DocumentManagement.Forms
{
    public partial class ChangePassword : Form
    {
        public ChangePassword()
        {
            InitializeComponent();
        }

        private void Cancel(object sender, EventArgs e)
        {
            Utilities.CloseForm(this, new Login());
        }

        private new bool Validate()
        {
            bool hasError = true;
            bool isFocused = false;
            errorProvider.Clear();

            
            return hasError;
        }

        private void FormLoad(object sender, EventArgs e)
        {
            var parent = MdiParent as MDI;
            if (parent != null)
            {
                //Utilities.ResetBackColor(parent.TopMenu, Constants.MenuIndex.TaiLieuVanBanPhapLy);
            }
        }        
    }
}
